/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

.navbar {
    background-color: #2697ed!important;
}

.navbar a {
    color: white!important;
}

.action {
    border-bottom: 3px solid white!important;
    margin-bottom: 1px!important;
}


.navbar-brand {
    padding: 10px 15px;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: white!important;
}

.navbar-brand img {
    width: 60px;
}

.navbar-toggle {
    background-color: #2697ed!important;
    border-color: #2697ed!important;
}
.navbar-toggle:hover {
    background-color: #2697ed!important;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
    background-color: white!important;
}
.sidebar ul.collapse{
    width: 100%;
    padding: 0;
    margin: 0;
}
.sidebar ul.collapsing{
    width: 100%;
    padding: 0;
    margin: 0;
}
/*.sidebar ul.collapsing span{*/
/*    padding-left: 20px;*/
/*}*/
/*.sidebar ul.collapse span{*/
/*    padding-left: 20px;*/
/*}*/
/*.sidebar .in a span{*/
/*    padding-left: 10px;*/
/*}*/

.level2 a{
    padding-left: 40px!important;
}
.level3 a{
    padding-left: 60px!important;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding: 5px 20px;
    color: #2697ed;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #2697ed;
    background-color: #ccc;
    border-radius: 0 50px 50px 0;
}




/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

/*footer*/
.footer {
    height: 40px;
    /*background-color: red;*/
    border-top: 1px solid #ccc;
}
.footer span{
    margin: 0 20px;
}
.vertical-container {
    /*height: 100px;*/
    display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
